﻿using Abp.AutoMapper;
using Batman.RefiningPharmacist.Domains;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Batman.RefiningPharmacist.Services.Inputs
{
    [AutoMap(typeof(Composite))]
    public class CreateCompositeInput
    {
        /// <summary>
        /// 标题名称
        /// </summary>
        [Required(ErrorMessage = "标题不能为空")]
        public string CompositeName { get; set; }

        /// <summary>
        /// 合成物清单
        /// </summary>
        public List<CreateCompositeItemInput> CompositeItems { get; set; }
    }
}
